Learn R Programming

RWiener (version 1.2-0)

wiener plot: Wiener plot function

Description

wiener_plot creates a density plot of correct and wrong responses for a given dataset.

Usage

wiener_plot(dat)

Arguments

dat
dataframe with data. Needs a reaction time column and a accuracy/response column.

Examples

Run this code
# generate random data
dat <- rwiener(100,2,.3,.5,0)

# plot
wiener_plot(dat)

Run the code above in your browser using DataLab